From 00990ec3072bfe6be20117e973adb123fc3c36ee Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Mon, 5 Feb 2018 14:35:34 +0000 Subject: [PATCH] build: Fix the non-pkg-config Vulkan detection Not all the variables were renamed. --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index d7e7a72bde..3c7972d87a 100644 --- a/meson.build +++ b/meson.build @@ -568,7 +568,7 @@ else vulkan_libname = 'vulkan' endif vulkan_dep = cc.find_library(vulkan_libname, required: false) - if vulkan_lib.found() and cc.has_function('vkCreateInstance', dependencies: vulkan_lib) and cc.has_header('vulkan/vulkan.h') + if vulkan_dep.found() and cc.has_function('vkCreateInstance', dependencies: vulkan_dep) and cc.has_header('vulkan/vulkan.h') have_vulkan = true pc_gdk_extra_libs += ['-l@0@'.format(vulkan_libname)] endif -- 2.30.2